package com.atguigu.gmall.product.model;

import com.atguigu.gmall.base.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author atguigu
 * @since 2022-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("test")
@ApiModel(description="")
public class Test extends BaseEntity {

    public static void main(String[] args) {
        String s =
                "abc";
        Object obj = s;
        System.out.println(obj);
    }

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;


}
